import React from "react";
import { Button, Box } from "@mui/material";


function MenuButton({text, onClick, parameter, disabled=false}){
        return (
            <Button disabled={disabled} variant={'contained'} sx={{fontWeight: 'bold', boxShadow: ' 0 0px 26px 5px rgb(2, 105, 7)', backgroundColor: 'black', height: 50, width: 300, borderRadius: 5, color: 'rgb(0, 184, 9)', textAlign: 'center', padding: 3,  multiline: true, margin: 2, "&:hover":{backgroundColor: 'rgb(2, 105, 7)', color: 'black'}}} onClick={() => onClick(parameter)}>
                {text}
            </Button>
        )
}

export default MenuButton;




